package com.cskaoyan.bean;

import lombok.Data;

import java.util.List;

@Data
public  class Permissions {

        private List<SystemPermissionsBean> systemPermissions;
        private List<String> assignedPermissions;

        @Data
        public static class SystemPermissionsBean {
            private String id;
            private String label;
            private List<ChildrenBeanX> children;

            @Data
            public static class ChildrenBeanX {
                private String id;
                private String label;
                private List<ChildrenBean> children;

                public void getChildren(List<Childrenbean> childrenbeans) {
                }

                @Data
                public static class ChildrenBean {
                    private String id;
                    private String label;
                    private String api;
                }
            }
        }
    }

